package com.wgl.userclient.inteface;

import com.wgl.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wgl
 * @version 1.0.0
 * @ClassName PatientFeignClient.java
 * @Description TODO
 * @createTime 2022年02月13日 22:55:00
 */
@Component
@FeignClient("service-user")
public interface PatientFeignClient {
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable Long id);
}
